﻿using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Magicodes.WeChat.Application.Pay.Dto;

namespace Magicodes.WeChat.Application.Pay
{
    /// <summary>
    /// 微信支付
    /// </summary>
    public interface IWeChatPayAppService : IApplicationService
    {
        /// <summary>
        /// 发起支付
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<Dictionary<string, string>> ToPay(ToPayInput input);

        /// <summary>
        /// 自定义支付
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<Dictionary<string, string>> CustomPay(CustomPayInput input);
    }
}